home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 8
/
HYPERLIB-1993-VOL8-CD1.ISO.7z
/
HYPERLIB-1993-VOL8-CD1.ISO
/
Wingz
/
Demo for 9inch Monitor
/
WZAP
/
PRSHEET.SCZ
(
.txt
)
< prev
next >
Wrap
Wingz Script
|
1992-07-06
|
6KB
|
124 lines
WNGZWZSC0120
" & ADDRESS.WKZ:AF
=ADDRESS.WKZ:AG
& if(isblank(ADDRESS.WKZ:AH5
),"",ADDRESS.WKZ:AH5
=ADDRESS.WKZ:AI
& if(isblank(ADDRESS.WKZ:AJ5
),"",ADDRESS.WKZ:AJ5
=ADDRESS.WKZ:AA
=ADDRESS.WKZ:AB
& "
ADDRESS.WKZ
kana_flag
max_line
left_margin
right_margin
top_margin
bottom_margin
label_space
label_width
addr_height
kana_height
name_height
addr_font
kana_font
name_font
addr_size
kana_size
name_size
column_number
page_include
make_printsheet
put_label/
PRSHEET.SCZ -
Copyright (C) 1992 ASCII Corporation
1992/1/6 Author taku-k
define left_margin, right_margin, top_margin, bottom_margin, label_space
define label_width
define addr_height, kana_height, name_height
define addr_font, kana_font, name_font
define addr_size, kana_size, name_size
define i, j, line
define column_number, page_include
function make_printsheet()
column_number = 3 {
page_include = 6 {
left_margin = 15 point {
right_margin = 15 point {
top_margin = 5 point {
bottom_margin = 5 point {
label_width = 130 point {
label_space = 10 point {
addr_height = 15 point { "
kana_height = 10 point { "
name_height = 20 point { "
addr_font = "
" { "
kana_font = "
" { "
name_font = "
" { "
addr_size = 12 { "
kana_size = 9 { "
name_size = 14 { "
ADDRESS.WKZ:kana_flag = 1 {
repaint selections off
repaint off
select range a1..b32768
column width left_margin/2
for i = 1 to column_number
select range makerange(i*3,1,i*3,32768)
column width label_width
select range makerange(1+i*3,1,1+i*3,32768)
column width label_space
select range makerange(2+i*3,1,2+i*3,32768)
column width right_margin
end for
hide headings {
hide cell grid {
repaint window
repaint on
repaint selections on
unselect
i = 0
repaint selections off
repaint off
for line = 3 to ADDRESS.WKZ:max_line
call put_label(j*3+3, i*7+3, line)
j = j + 1
if j >= column_number or line = ADDRESS.WKZ:max_line
select range makerange(1,i*7+3,32768,i*7+5)
row height addr_height
select range makerange(1,i*7+6,32768,i*7+6)
row height kana_height
select range makerange(1,i*7+7,32768,i*7+7)
row height name_height
i = i + 1
if not mod(i, page_include)
add page break {
end if
j = 0
end if
end for
unselect
repaint window
repaint on
repaint selections on
end function
{ column
function put_label(column, row, line)
put "=""
"" & ADDRESS.WKZ:AF" & line into makecell(column, row)
put "=ADDRESS.WKZ:AG" & line & " & if(isblank(ADDRESS.WKZ:AH" & line & "),"""",ADDRESS.WKZ:AH" & line & ")" into makecell(column, row+1)
put "=ADDRESS.WKZ:AI" & line & " & if(isblank(ADDRESS.WKZ:AJ" & line & "),"""",ADDRESS.WKZ:AJ" & line & ")" into makecell(column, row+2)
select range makerange(column, row,column, row+2) text font addr_font text size addr_size
if ADDRESS.WKZ:kana_flag
put "=ADDRESS.WKZ:AA" & line into makecell(column, row+3)
select range makecell(column, row+3) text font kana_font text size kana_size
end if
put "=ADDRESS.WKZ:AB" & line & " & ""
l""" into makecell(column, row+4)
select range makecell(column, row+4) text font name_font text size name_size
end function